<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Disabilitare per le mail in uscita la scansione per spam e virus</title>
        <link rel="stylesheet" type="text/css" href="./css/markdown.css" />
    </head>
    <body>

    <div id="navigation">
    <a href="https://www.iredmail.org" target="_blank">
        <img alt="iRedMail web site"
             src="./images/logo-iredmail.png"
             style="vertical-align: middle; height: 30px;"
             />&nbsp;
        <span>iRedMail</span>
    </a>
    &nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><div class="admonition note">
<p class="admonition-title">This tutorial is available in other languages. <a href="https://github.com/iredmail/docs">Help translate more</a></p>
<p><a href="./disable.spam.virus.scanning.for.outgoing.mails.html">English</a> / <a href="./disable.spam.virus.scanning.for.outgoing.mails-zh_CN.html">简体中文</a> /</p>
</div>
<h1 id="disabilitare-per-le-mail-in-uscita-la-scansione-per-spam-e-virus">Disabilitare per le mail in uscita la scansione per spam e virus</h1>
<p>Per disabilitare la scansione per le mail in uscita riguardo spam/virus, potete aggiungere
un bypass nel file <code>/etc/amavisd/amavisd.conf</code>, file di configurazione di Amavisd (per RHEL/CentOS)
oppure in <code>/etc/amavis/conf.d/50-user</code> (per Debian/Ububtu) oppure <code>/usr/local/etc/amavisd.conf</code>
(per FreeBSD).</p>
<ul>
<li>bypass_spam_checks_maps</li>
<li>bypass_virus_checks_maps</li>
<li>bypass_header_checks_maps</li>
<li>bypass_banned_checks_maps</li>
</ul>
<p>Queste configurazioni possono essere aggiunti nel blocco di configurazione <code>$policy_bank{'ORIGINATING'}</code>:</p>
<pre><code class="language-perl">$policy_bank{'ORIGINATING'} = {
    [...OMETTERE ALTRE CONFIGURAZIONI QUI...]

    # don't perform spam/virus/header check.
    bypass_spam_checks_maps =&gt; [1],
    bypass_virus_checks_maps =&gt; [1],
    bypass_header_checks_maps =&gt; [1],

    # allow sending any file names and types
    bypass_banned_checks_maps =&gt; [1],
}
</code></pre>
<p>Il riavvio del servizio Amavisd è necessario dopo aver effettuato le modifiche.</p><div class="footer">
    <p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div></body></html>